@import './global.css';

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei';
  user-select: none; /* 禁止用户鼠标在页面上选中文字/图片等 */
  -webkit-tap-highlight-color: transparent; /* webkit是苹果浏览器引擎，tap点击，highlight背景高亮，color颜色，颜色用数值调节 */
  background: var(--color-background);
  color: var(--color-text);
  width: 100vw;
}

/* 隐藏滚动条 */
::-webkit-scrollbar {
  display: none;
}

#app {
  width: 100vw;
  height: 100vh;
}

li {
  list-style: none;
}

i {
  font-style: normal;
}

input,
textarea {
  border: none;
  outline: none;
}

input[type='button'],
input[type='submit'],
input[type='search'],
input[type='reset'] {
  -webkit-appearance: none;
}

button {
  border: none;
}

a {
  color: var(--color-text);
  text-decoration: none;
}

.clearfix::after {
  clear: both;
  content: '';
  display: block;
  width: 0;
  height: 0;
  visibility: hidden;
}

.clear-fix {
  zoom: 1;
}
